package com.aggregate.pay.pingan.bean;

import java.util.List;

import com.aggregate.pay.pingan.jackson.converter.StringDeserializer;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

/**
 * 支付方式费率及自定义表单项接口响应data参数对象，需要将CommonResult对象的属性data解密并转换成该对象
 * @author Moyq5
 * @date 2017年6月24日
 */
public class ContractPayFeeResult {

	/**
	 * 支付方式基本信息	
	 */
	@JsonProperty("pay")
	private ContractPayFeeResultPayment payment;
	
	/**
	 * 各行业分类费率
	 */
	@JsonProperty("pay_fee")
	private List<ContractPayFeeResultFee> fees;
	
	/**
	 * 合同扩展自定义字段
	 */
	@JsonProperty("extra_input")
	@JsonDeserialize(using = StringDeserializer.class)
	private String inputs;

	public ContractPayFeeResultPayment getPayment() {
		return payment;
	}

	public void setPayment(ContractPayFeeResultPayment payment) {
		this.payment = payment;
	}

	public List<ContractPayFeeResultFee> getFees() {
		return fees;
	}

	public void setFees(List<ContractPayFeeResultFee> fees) {
		this.fees = fees;
	}

	public String getInputs() {
		return inputs;
	}

	public void setInputs(String inputs) {
		this.inputs = inputs;
	}

	@Override
	public String toString() {
		return "ContractPayFeeResult [payment=" + payment + ", fees=" + fees + ", inputs=" + inputs + "]";
	}

}
